package com.ps.weedingjumper.model;

import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;

public class Player {

	private Vector2 velocity;
	private Rectangle bounces;
	
	public Player(float x, float y, float width, float height) {
		velocity = new Vector2();
		bounces = new Rectangle(x, y, width, height);
	}

	public float getX() {
		return bounces.x;
	}
	
	public void setX(float x) {
		bounces.x = x;
	}
	
	public float getY() {
		return bounces.y;
	}
	
	public void setY(float y) {
		bounces.y = y;
	}

	public Vector2 getVelocity() {
		return velocity;
	}

	public void setVelocity(Vector2 velocity) {
		this.velocity = velocity;
	}
	
	public float getWidth() {
		return bounces.width;
	}
	
	public float getHeight() {
		return bounces.height;
	}
	
}
